x86 vpt: Small performance fixes.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:50:46 +0000 (09:50 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:50:46 +0000 (09:50 +0100)
commita980249c45caa086a5e08fe8a827a865c5ea9491
tree5b6f443d001631212b42e96d63a31c37d948c577
parent4dd7eb9f0914278ff9e4a9847788aa4ff9dc8c47
x86 vpt: Small performance fixes.

1. once one-shot timer is fired, IRQ is raised repeatedly forever.
2. Test pending_intr_nr before pt_irq_masked(), as it is cheaper.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen/arch/x86/hvm/vpt.c